package com.lhl.jwt.domain.vo;

import io.swagger.annotations.Api;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * @className: com.lhl.jwt.vo.AccountVO
 * @description: TODO 类描述
 * @author: king
 * @date: 2020-12-22 15:57
 **/
@Api(tags = "AccountVO", produces = "AccountVO")
@Builder
@Data
public class AccountVO implements Serializable {
    /**
     * 微信的openid
     */
    private String openid;

    /**
     * 微信的session_key
     */
    @Column(name = "session_key")
    private String sessionKey;

    /**
     * 微信昵称
     */
    @Column(name = "nick_name")
    private String nickName;

    /**
     * 性别 0：未知、1：男、2：女
     */
    private Integer gender;

    /**
     * 头像url
     */
    @Column(name = "avatar_url")
    private String avatarUrl;

    /**
     * 国家
     */
    private String country;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 删除状态，0：未删除，1：已删除
     */
    private Integer deleted;

    private Date createTime;

    private Date lastUpdateTime;

}
